﻿using Base.Infrastructure.Dto.Request.Error;
using Base.Infrastructure.Tools.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Base.Service.Interface
{
    [Provider]
    public interface IErrorService
    {
        /// <summary>
        /// 记录错误
        /// </summary>
        /// <param name="dto"></param>
        void AddError(ErrorRequestDto dto);

        /// <summary>
        /// 记录行为
        /// </summary>
        /// <param name="dto"></param>
        void AddActionLog(ErrorRequestDto dto);
    }
}
